package ooday05;



import java.util.Arrays;

public class Test {
    public Test() {
    }

    public static void main(String[] args) {
        int[] num= new int[]{11,44,22,55,33,66,99,77};
        for (int i=0;i<num.length;i++){

            System.out.println(num[i]);
        }
        Arrays.sort(num);
        System.out.println("排序后：");
        for (int i=num.length-1;i>=0;i--){
            System.out.println(num[i]);
        }



    }
}